package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.Rebate;
import com.jsh.erp.datasource.entities.RebateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RebateMapper {
    long countByExample(RebateExample example);

    int deleteByExample(RebateExample example);

    int deleteByPrimaryKey(String id);

    int insert(Rebate record);

    int insertSelective(Rebate record);

    List<Rebate> selectByExample(RebateExample example);

    Rebate selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Rebate record, @Param("example") RebateExample example);

    int updateByExample(@Param("record") Rebate record, @Param("example") RebateExample example);

    int updateByPrimaryKeySelective(Rebate record);

    int updateByPrimaryKey(Rebate record);
}